<% title "Search" %>
<%= form_for :search_items,:controller => "select_file", :action => "search",   do |f| %>
  <%= f.error_messages %>
  <p>
  	<%= f.check_box :title_check, :checked => true, :disabled=>true%>
    <%= f.label :title %>
    <%= f.text_field :title %>
    <%= f.select :title_lang, ['all','DE','EN'], {}, :disabled => true%>
  </p>
  <p>
  	<%= f.check_box :programId_check, :disabled=>true %>
    <%= f.label :programId %>
    <%= f.text_field :programId, :disabled=>true  %>
   </p>
  <p>
  	<%= f.check_box :episodeOf_check, :disabled=>true  %>
    <%= f.label :episodeOf %>
    <%= f.text_field :episodeOf , :disabled=>true %>
   </p>
  <p>
  	<%= f.check_box :memberOf_check, :disabled=>true  %>
    <%= f.label :memberOf %>
    <%= f.text_field :memberOf, :disabled=>true  %>
   </p>
  <p>
  	<%= f.check_box :keyword_check, :disabled=>true  %>
    <%= f.label :keyword %>
    <%= f.text_field :keyword, :disabled=>true  %>
    <%= f.select :keyword_lang, ['all','DE','EN'], {}, :disabled => true%>
   </p>
  <p>
  	<%= f.check_box :personName_check, :disabled=>true  %>
    <%= f.label :personName %>
    <%= f.text_field :givenName, :disabled=>true  %>
    <%= f.text_field :familyName, :disabled=>true  %>
    <%= f.select :personName_lang , ['all','DE','EN'], {}, :disabled => true%>
   </p>
   <p>
  	<%= f.check_box :from_check, :disabled=>true  %>
    <%= f.label :from %>
    <%= f.datetime_select :from, :disabled=>true  %>
   </p>
   <p>
  	<%= f.check_box :to_check, :disabled=>true  %>
    <%= f.label :to %>
    <%= f.datetime_select :to, :disabled=>true  %>
   </p>
   
  <p><%= f.submit "Search item"%></p>
<% end %>
